package com.atguigu.tingshu.order.client.impl;


import com.atguigu.tingshu.common.result.Result;
import com.atguigu.tingshu.model.order.OrderInfo;
import com.atguigu.tingshu.order.client.OrderInfoFeignClient;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;

@Component
@Slf4j
public class OrderInfoDegradeFeignClient implements OrderInfoFeignClient {
    /**
     * @description: 根据订单号获取订单信息
     * @author Petrichor
     * @date 2024/1/9 20:39
     * @param orderNo 订单号
     * @return 订单信息
     **/
    @Override
    public Result<OrderInfo> getOrderInfo(String orderNo) {
        log.info("根据订单号获取订单信息..OrderInfoDegradeFeignClient..getOrderInfo");
        return null;
    }
}
